projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5dbf08
)
* lisp/vc/vc-hg.el (vc-hg-clone): Add 'clone' implementation
author
Philip Kaludercic
<philipk@posteo.net>
Thu, 6 Oct 2022 14:49:10 +0000
(16:49 +0200)
committer
Philip Kaludercic
<philipk@posteo.net>
Thu, 6 Oct 2022 20:03:14 +0000
(22:03 +0200)
lisp/vc/vc-hg.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-hg.el
b/lisp/vc/vc-hg.el
index 61976288e351f1b9f9df27c03c64a73fb141b06b..a4ef7f355099b50a1ac34d18ba645f814ad8289a 100644
(file)
--- a/
lisp/vc/vc-hg.el
+++ b/
lisp/vc/vc-hg.el
@@
-1249,6
+1249,8
@@
REV is the revision to check out into WORKFILE."
(add-hook 'after-save-hook #'vc-hg-resolve-when-done nil t)
(vc-message-unresolved-conflicts buffer-file-name)))
+(defun vc-hg-clone (remote directory)
+ (vc-hg-command nil 0 '() "clone" remote directory))
;; Modeled after the similar function in vc-bzr.el
(defun vc-hg-revert (file &optional contents-done)